package com.opgea.tutor.domain.entities;

import java.io.Serializable;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "TDOCUMENT")
@DiscriminatorValue("T")
public class TutorDocument extends Document implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 5344858559920891088L;
    @ManyToOne
    private Tutor tutor;

    public Tutor getTutor() {
	return tutor;
    }

    public void setTutor(Tutor tutor) {
	this.tutor = tutor;
    }

}
